<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models\DataTableModel;

use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;

/**
 * Class File
 * 
 * @property int $id
 * @property string $file_name
 * @property string $file_path
 * @property string $file_type
 * @property int $file_size
 * @property string $file_state
 * @property int $file_parent_folder_id
 * @property string $file_alias
 * @property int $file_image_id
 * @property int $file_mod
 * @property int $user_id
 * @property int $group_id
 * @property Carbon|null $created_at
 * @property Carbon|null $updated_at
 *
 * @package App\Models\DataTableModel
 */
class File extends Model
{
	protected $table = 'files';

	protected $casts = [
		'file_size' => 'int',
		'file_parent_folder_id' => 'int',
		'file_image_id' => 'int',
		'file_mod' => 'int',
		'user_id' => 'int',
		'group_id' => 'int'
	];

	protected $fillable = [
		'file_name',
		'file_path',
		'file_type',
		'file_size',
		'file_state',
		'file_parent_folder_id',
		'file_alias',
		'file_image_id',
		'file_mod',
		'user_id',
		'group_id'
	];
}
